﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ApprovalUtilities.Persistence;

namespace DatabaseTest
{
    class SQLWeatherLoader : IExecutableQuery
    {
        private   string p;

    public    SQLWeatherLoader(string p)
    {
    this.p = p;
    }
        public string GetQuery()
        {
            return "Select * from Weather Where Name = " + p;
        }

        public string ExecuteQuery(string query)
        {
            throw new Exception("can not find database");
        }

    }
}
